<?php
/**
 * Filtro para configuração do SimplaAdmin
 * @author Renato Lenz @ PC4 Team
 *
 */
class PC4_Filtro_SimplaAdmin implements PC4_Util_Filtro {

	function filtra($controlador) {
		// Carrega css's e js's do SimplaAdmin
		$controlador->layout->addCSS(array(
			'reset'
			, 'style'
			, 'invalid'
			, 'blue'
			, 'jquery.facebox/facebox'
			, 'jquery.wysiwyg/wysiwyg'
			, 'jquery-ui'
		));
		$controlador->layout->addJS(array(
			'asdf.js',
			'jquery-1.4.2.min.js',
			'jquery.facebox/facebox.js', 
			'jquery.wysiwyg/wysiwyg.js',
			'simpla.configuration.js',
			'jquery.pngFix/pngFix.pack.js', 
			'jquery.metadata/metadata.js',
			'jquery.validate/validate.js',
			'jquery.validate/additional.methods.js',
			'jquery.validate/messages.ptbr.js',
			'jquery.maskedinput-1.2.2.js',
			'jquery.maskmoney.js',
			'jquery-alphanumeric.js',
			'app/admin.configuration.js',
			'calendario/jquery-ui-1.7.2.custom.min.js',
			'calendario/datepicker-pt-BR.js'
		));
	}
	
}